package cc.autoapi.pucong.auto.flow.core.flow.execNode.ai.text;


import cc.autoapi.pucong.auto.flow.core.flow.execNode.ai.send.AbstractAiSendSendTool;
import cc.autoapi.pucong.auto.flow.core.flow.execNode.entity.node.AiNodeScriptParamIn;
import cc.autoapi.pucong.auto.flow.core.flow.execNode.entity.node.AiNodeScriptParamOut;
import cc.autoapi.pucong.auto.flow.core.flow.execNode.streamBus.IStreamSubscriber;

import java.util.List;

/**
 * @description:
 * @author: cong.pu
 * @create: 2024-10-14 08:55
 **/
public interface AiTextInterface {


    void initAiTool(AbstractAiSendSendTool aiSendSendTool);

    /**
     * 发送消息
     * @param desc
     * @param content
     * @return
     */
    String getText(String desc, String content);

    /**
     * 发送流式消息
     * @param desc
     * @param content
     * @return
     */
    IStreamSubscriber getScriptStream(String desc, String content);

}
